#define _CRT_SECURE_NO_WARNINGS 1

#include <stdio.h>
void print(int(*arr)[3], int row, int col)
{

	int i = 0, j = 0;
	for (i = 0; i < row; i++)
	{
		for (j = 0; j < col; j++)
		{
			printf("%d ", arr[i][j]);
		}
		printf("\n");
	}
}

int main()
{
	
	int a[2][3] = { 1,2,3,4,5,6 };

	print(a, 2, 3);

	return 0;
}
